{% load staticfiles %}
<html><head>
    <title>Vega Scaffold</title>
    <script src="{% static 'js/d3.v3.min.js' %}" charset="utf-8"></script>
    <script src="{% static 'js/topojson.v1.min.js' %}"></script>
    <script src="{% static 'js/d3.geo.projection.v0.min.js' %}" charset="utf-8"></script>
    <script src="{% static 'js/vega.js' %}"></script>
  </head>
  <body>
    <div id="vis"></div>
  
<script type="text/javascript">
// parse a spec and create a visualization view
function parse(spec) {
  vg.parse.spec(spec, function(chart) { chart({el:"#vis"}).update(); });
}
parse("json/statistic.json");
</script>
</body></html>